< previous page page_588 next page >

Page 588
Day 11
Displaying Your Data with Graphs
On Day 11, you learned how to use the graph control that ships with Visual Basic 5 to create visual displays of your data tables. You learned how to add the control to your project and how to load the graph control with data points, titles, legends, and labels.
Also, you built a graph ActiveX DLL object library that you can use to display virtually any dataset in a variety of graph formats. This library lets you save the graph to disk, send the graph to the printer, or copy the graph to the Windows Clipboard for placement in other Windows programs through the Paste Special operation.
While building the graph library, you learned how to declare and use enumerated constants to improve the readability of your Visual Basic code.
Finally, you used the new graph library to add three graphs to the CompanyMaster project.
Day 12
Data-Bound List Boxes, Grids, and Subforms
On Day 12, you learned how to load and use three of the data-bound controls that are shipped with Visual Basic 5:
· The data-bound list box
· The data-bound combo box
· The data-bound grid
You learned how to link these new controls to Recordsets using the Visual Basic 5 data controls and how to use these links to update related tables.
You also learned several of the important Visual Basic 5 events associated with the data grid. These events let you create user-friendly data entry routines using just a data control and the data grid.
Finally, you drew upon your knowledge of data grids, SQL, and form layout to design and implement a data entry subform. This form showed a master table at the top, and a related list table at the bottom of the form in a data-bound grid.

 
< previous page page_588 next page >

If you like this book, buy it!